<document html>
<html>
    <head>
        <meta charset="utf-8">
        <title>clumsy</title>
        <script type="text/javascript" src="https://rawgit.com/kreshikhin/clumsy/master/clumsy.js"></script>
    </head>
    <body>
        <canvas id="canvas" width=800 height=600>
    </body>
    <script type="text/javascript" src="sine.js"></script>
    <script type="text/javascript">
        var canvas = document.getElementById('canvas');
        var clumsy = new Clumsy(canvas);

        function isNumber(n){
            return !isNaN(parseFloat(n)) && isFinite(n);
        }

        function isSet(object){
            return (typeof object !== 'undefined');
        }

        setInterval(function(){
            clumsy.clear('white');
            Sine(clumsy);
        }, 100);
    </script>
</html>
